#pragma once
#include <string>


///
/// Namespace containing helper functions for console-based IO operations
///
namespace IoHelper {

  int GetInt(const std::string text, const int mode=0);
  int GetIntStd(const std::string text);
  int GetIntStrict(const std::string text);
  int GetIntInRange(const std::string text, const int min, const int max, const int mode=0);
  tm GetDate(const std::string text);
  char GetChar(const std::string text);
  std::string GetLine(const std::string text);
  bool IsInt(const std::string str);
}